var rule = {
    title: '网飞猫',
    host: 'https://www.ncat2.com',
    url: '/channel/fyclass.html',
    searchUrl: '/search?k=**&page=fypage',
    searchable: 2,//是否启用全局搜索,
    quickSearch: 0,//是否启用快速搜索,
    filterable: 0,//是否启用分类筛选,
    headers: {
                'User-Agent':'MOBILE_UA', // "Cookie":"searchneed=ok"
            },
    编码: 'utf-8',
    timeout: 5000,
    class_name:'电影&连续剧&动漫&综艺记录',
  class_url:'1&2&3&4&5',
  tab_exclude: '今日更新|专题列表|排行榜|留言求片|app',
  图片替换: 'https://www.ncat2.com=>https://vres.bqlpk.cn',
    play_parse: true,
    lazy: `js:
            if(/\\.(m3u8|mp4)/.test(input)){
                input = {parse:0,url:input}
            }else{
                if(rule.parse_url.startsWith('json:')){
                    let purl = rule.parse_url.replace('json:','')+input;
                    let html = request(purl);
                    input = {parse:0,url:JSON.parse(html).url}
                }else{
                    input= rule.parse_url+input; 
                }
            `,
    limit: 6,
    double: true,
    推荐: '*',
    一级: '.module-item;img&&alt;img&&data-original;span&&Text;a&&href',
    二级: {
        "title": ".col-xs-1&&h1&&Text",
        "img": "img&&data-src",
        "desc": ".img-list&&li:eq(2)&&Text;.img-list&&li:eq(3)&&Text;.img-list&&li:eq(4)&&Text;.img-list&&li:eq(5)&&Text",
        //没改
        "content": ".desc&&Text",
        "tabs": ".swiper-slide.source-swiper-slide--i",
        "lists": ".episode-list:eq(#id)&&a"
            },
            搜索: $js.toString(() => {
        let d = [];
        let html = request(input);
        let list = pdfa(html, '.search-result-item');
        list.forEach(item => {
            var title = pdfh(item, '.title&&Text');
            var pic = pdfh(item, 'img&&data-original');
            var desc = pdfh(item, '.tags&&Text');
            var url = pd(item, '.search-result-item&&href');  
                 
            if (title) {
                d.push({
                    title: title,
                    img: pic,
                    desc: desc,
                    url: url
                });
            }
        });
        setResult(d);
    }),
            }